BigCommerce\Post_Types\Product\Product D

Total Complexity 190
Dependencies 27
Dependents 106
Total lines 1,113
Lines of code 671
Logical lines of code 400
Comment lines 227
Methods 55
Properties 3

Methods 55

Method Rating Maintainability Complexity Lines of code
options()
A
44 10 43
get_source_data()
A
42 9 52
purchase_message()
A
53 9 20
get_redirect_product_link()
A
50 8 27
price_range()
A
54 8 18
get_inventory_level()
A
56 8 17
brand()
S
51 7 27
purchase_button()
S
50 7 24
youtube_videos()
S
52 7 22
modifiers()
S
52 6 24
get_selected_variant_id()
S
55 6 19
get_thumb_from_cdn()
S
56 6 17
by_product_meta()
S
49 4 32
get_product_options()
S
48 4 32
calculated_price_range()
S
57 5 14
related_products()
S
51 4 25
get_variant_sku()
S
61 4 13
get_gallery_ids()
S
61 4 11
maybe_serialize_from_api()
S
63 4 10
availability()
S
66 4 8
on_sale()
S
62 3 11
has_options()
S
67 3 8
out_of_stock()
S
64 3 10
condition()
S
68 3 7
get_property()
S
65 3 10
get_listing_id()
S
68 3 7
get_channel()
S
66 3 8
get_reviews_count()
S
68 3 7
get_reviews_sum()
S
68 3 7
related_products_by_category()
S
59 2 14
retail_price()
S
68 2 7
purchase_url()
S
70 2 6
by_product_sku()
S
69 2 6
by_product_id()
S
69 2 6
get_channel_id()
S
65 2 9
sku()
S
69 2 7
is_purchasable()
S
69 2 7
json_encode_maybe_from_api()
S
69 2 7
get_custom_fields()
S
74 2 4
get_review_count()
S
70 2 6
get_reviews()
S
68 2 7
get_listing_data()
S
68 2 7
low_inventory()
S
79 1 3
__construct()
S
76 1 4
update_custom_field_data()
S
79 1 3
update_modifier_data()
S
73 1 5
update_listing_data()
S
73 1 5
update_source_data()
S
73 1 5
show_condition()
S
79 1 3
get_product_cache_expiration()
S
78 1 3
bc_id()
S
78 1 3
post_id()
S
82 1 3
is_headless()
S
82 1 3
__get()
S
80 1 3
update_options_data()
S
73 1 5